﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SiteParams.aspx.cs" Inherits="YunCMS.Web.Admin.Settings.SiteParams" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../../Styles/reset.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/jquery-ui-1.8.13.custom.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/site.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validate.min.js" type="text/javascript"></script>
    <script src="../../Scripts/messages_zh.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#form1").validate({
                errorElement: "span",
                errorClass: "ui-state-error"
            });

            $("#saveBt").button({
                icons: {
                    primary: "ui-icon-disk"
                }
            });

            $("#tabs").tabs();
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="editarea">
        <div id="tabs">
            <ul>
                <li><a href="#tabs-1">基本信息(用于SEO 优化)</a></li>
                <li><a href="#tabs-2">邮箱设置</a></li>
            </ul>
            <div id="tabs-1">
                <table width="100%" class="edittable">
                    <colgroup>
                        <col width="10%" class="ui-state-default" />
                    </colgroup>
                    <tbody>
                        <tr>
                            <th>
                                <span>版权信息</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" CssClass="yc-textbox" ID="CopyrightTB"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                <span>站点名称</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" CssClass="yc-textbox" ID="TitleTB"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                <span>关键词</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" CssClass="yc-textbox" ID="KeywordsTB"></asp:TextBox>用“，”隔开
                            </td>
                        </tr>
                        <tr>
                            <th>
                                <span>描述</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" CssClass="yc-textbox" ID="DescTB"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                <span>公司名称</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" CssClass="yc-textbox" ID="CompanyNameTB"></asp:TextBox>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id="tabs-2">
                <table width="100%" class="edittable">
                    <colgroup>
                        <col width="10%" class="ui-state-default" />
                    </colgroup>
                    <tbody>
                        <tr>
                            <th>
                                SMTP服务器：
                            </th>
                            <td>
                                <asp:TextBox ID="emailstmpTB" runat="server" CssClass="yc-textbox normal required" MaxLength="100"></asp:TextBox><label>*发送邮件的SMTP服务器地址</label>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                SMTP端口：
                            </th>
                            <td>
                                <asp:TextBox ID="emailportTB" runat="server" CssClass="yc-textbox small required digits"
                                    MaxLength="10">25</asp:TextBox><label>*SMTP服务器的端口</label>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                发件人地址：
                            </th>
                            <td>
                                <asp:TextBox ID="emailfromTB" runat="server" CssClass="yc-textbox normal required" MaxLength="100"></asp:TextBox><label>*</label>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                邮箱账号：
                            </th>
                            <td>
                                <asp:TextBox ID="emailusernameTB" runat="server" CssClass="yc-textbox normal required"
                                    MaxLength="100"></asp:TextBox><label>*</label>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                邮箱密码：
                            </th>
                            <td>
                                <asp:TextBox ID="emailpasswordTB" runat="server" CssClass="yc-textbox normal required"
                                    MaxLength="100" TextMode="Password"></asp:TextBox><label>*</label>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                发件人昵称：
                            </th>
                            <td>
                                <asp:TextBox ID="emailnicknameTB" runat="server" CssClass="yc-textbox normal required"
                                    MaxLength="100"></asp:TextBox><label>*显示发件人的昵称</label>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="foot-bar" style='text-align: center;'>
            <asp:LinkButton ID="saveBt" runat="server" Text="保存" OnClick="saveBt_Click"></asp:LinkButton>
        </div>
    </div>
    </form>
</body>
</html>
